<template>
   <div>

   </div>
</template>

<script>
    export default {
        data() {
            return {

            }
        },
        components: {

        },
        mounted () {
            var u = navigator.userAgent;
            this.isAndroid = u.indexOf("Android") > -1 || u.indexOf("Adr") > -1; //android终端
            this.isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
            if(this.isAndroid) {
                window.location.href = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.stock.hotstocksbus';
            } else {
                window.location.href = 'https://www.pgyer.com/sZp2';
            }
        },
        methods: {

        }
    }
</script>

<style rel="stylesheet" scoped lang="less">
</style>
